from mycitations.manager.models import Citacao
from django.shortcuts import render_to_response

def index(request):
    citacoes = Citacao.objects.all()
    return render_to_response('manager/index.html', {'numero_citacoes_cadastradas': str(citacoes.count())})
